/**
 * 引入主库
 */
import React, { Component } from 'react'

/** 装饰器测试组件 */
const DecorderTest = AppNode => {
    return class AppIndex extends Component {
        render() {
            return (
                <div>
                    App Index

                    <AppNode />
                </div>
            )
        }
    }
}

/**
 * 主组件
 */
@DecorderTest
class App extends Component {
    render() {
        return (
            <div>
                App
            </div>
        )
    }
}
export default App